<%@page import="com.wodwl.entity.App"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@page import="com.wodwl.entity.User"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<%@include file="../templete/header.jsp" %>
</head>
<body >
<%pageContext.setAttribute("linkType","4");%>
<%@include file="../templete/user_info.jsp"  %>
	<% 
	List<App> apps=(List<App>) request.getAttribute("apps");

%>
		

		
		<div class="conR">
			<div class="conR-hd">
				<h3>项目列表 
					<%for(int i=0;i<40;i++){ %>
					&nbsp;
					<%} %>
				 	<a href="/app/app_add_view.do?username=<%=user.getUsername()%>"><font color="green">添加项目</font></a>
				 </h3>
				
			</div>


			<div class="oauth-sum-list">
				<div class="oauth-sum-listinfo">
					<table>
						<tbody>
			<%
				
				for (int i = 0; i < apps.size(); i++) {
					App item = apps.get(i);
			%>

							<tr>
								<td colspan="4">
									<h3 >
										<em><a class="cBlue fB" href="/app/app_show.do?username=<%=user.getUsername()%>&aid=<%=item.getAid()%>"><%=item.getName() %></a></em>
									</h3>
									<p><b>项目负责人：<font color="blue"><%=item.getLeader()%></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;状态：开发中</b></p>
									<p><%=item.getDescription() %></p>
								</td>
								<td  >
									<a href="/app/app_show.do?aid=<%=item.getAid()%>"><font color="green">查看详细</font></a>
								</td>
							</tr>
	
			<%
				}
			%>
							

						</tbody>
					</table>
				</div>

				<p class="pager-wrap pageList">
					<span class="pageList-cur">1</span> <a href="#" class="link-lb">2</a>
					<a href="#" class="link-lb">3</a> <a class="link-lb" href="#">下一页</a>
				</p>
			</div>
		</div>
	</div>

<jsp:include page="../templete/footer.jsp"></jsp:include>

</body>
</html>